#include "mainwindow.h"

#include "component/window.h"

#include <QApplication>

int main(int argc, char *argv[]) {
    // 开启支持高DPI的属性
    QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling, true);
    QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps, true);
    QApplication::setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
    
    QApplication a(argc, argv);
    MainWindow w;
    w.show();
    //    Window w;
    //    w.show();



    return a.exec();
}
